package com.usermanage.Service;

import com.usermanage.beanParam.ProjectBean;

import java.util.List;
import java.util.Map;
import java.util.Optional;

public interface ProjectService {

    ProjectBean save (ProjectBean projectBean);

    Optional<ProjectBean> findById(Integer id);

    List<ProjectBean> findAllList(String key, String page, String size,String company_id);

    int getListCount(String key,String company_id);

    Boolean isExisit(String project_code,Integer id);

    /**
     * 渠道商项目列表
     * @param company_id
     * @return
     */
    List<Map> projectListByCompany(String company_id);
}
